import Vue from "vue";
import App from "./App.vue";
import Vant from "vant";
import router from "./router";
import store from "./store";
// import "./utils/rem";
import "amfe-flexible";
// 开发阶段数据模拟操作
import "./mook/index";
import "./assets/less/global.less";
import "vant/lib/index.css";
import mdui from "maidangui";

import { Lazyload } from "vant";

Vue.use(Lazyload);

// 注册时可以配置额外的选项
Vue.use(Lazyload, {
  lazyComponent: true,
});

Vue.use(Vant);
Vue.use(mdui);

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
